package com.stylefeng.guns.rest.enums;

/**
 * @program: wz_dev_app_shop
 * @description: 周边店铺拼单枚举类
 * @author: Chenchao
 * @create: 2019-02-27 10:05
 **/
public enum EnWzMapRebate {
    //状态
    STATUS_EDIT("编辑中",1),
    STATUS_CHECKING("审核中",2),
    STATUS_REJECT("审核驳回",3),
    STATUS_SUCCESS("审核通过",4),
    STATUS_RELEASE("发布中",5),
    STATUS_Down("下架",6),
    STATUS_END("过期",7),
    //类型
    Type_My_Coupon("自己的券",1),
    Type_Other_Coupon("别人的券",2),

    /**
     *wz_user_rebate
     */
    //用户参与拼单状态
    USERREBATE_STATUS_Wait_Pay("待支付",0),
    USERREBATE_STATUS_GOING("进行中",1),
    USERREBATE_STATUS_END("已完成",2),
    USERREBATE_STATUS_EXPIRED("活动已过期",3);


    private String name ;
    private int index ;

    private EnWzMapRebate(String name , int index ){
        this.name = name ;
        this.index = index ;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}
